package vendas.business;

import gminet.infra.business.BusinessException;
import gminet.infra.business.BusinessObject;

import java.util.List;

import vendas.dto.UserType;


/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class UserTypeBusiness extends BusinessObject {

    public static UserType findByPK(int typeId) throws BusinessException {

        return UserType.getUserTypeById(typeId);
    }

    public static List<UserType> findAll() {

        return UserType.getList();
    }

}
